package edu.sctu.wangxiaoqiang.day20150510;

import edu.sctu.liangyuxiang.day20150508.TestTwo;
import edu.sctu.wangxiaoqiang.day3.Text;

/**
 * Created by user25 on 2015/5/10.
 */
public class TextOne {
    int sum = 0;
    public TextTwo getNum( TextThree textThree){
        TextTwo textTwo = new TextTwo();

        for(int i=0;i<textThree.num;i++) {
         sum+=i;
        }
        textTwo.number1 = sum;
        return textTwo;
    }
}
